<html>

  <head>

    <script type="text/javascript" src="https://www.google.com/jsapi"></script>

    <script type="text/javascript">

      google.load("visualization", "1", {packages:["corechart"] });

      google.setOnLoadCallback(drawChart);

      function drawChart() {

        

        var google_chart_04755741106_data = new google.visualization.DataTable();google_chart_04755741106_data.addColumn("number", "x");google_chart_04755741106_data.addColumn("number", "f1");google_chart_04755741106_data.addColumn("number", "f2");google_chart_04755741106_data.addRows([[1.4901161193847656e-8, 1.4901161193847656e-8, 0.0], [0.025233690713921286, 0.025231012919391872, 0.0], [0.05046736652668138, 0.050445946235396305, 0.0], [0.07570104233944148, 0.07562876038490586, 0.0], [0.10093471815220156, 0.1007634213540732, 0.0], [0.12616839396496168, 0.12583392578840297, 0.0], [0.15140206977772178, 0.15082431118216116, 0.0], [0.17663574559048184, 0.17571866604177627, 0.0], [0.20186942140324193, 0.20050114001676053, 0.0], [0.22710309721600203, 0.22515595399170113, 0.0], [0.2523367730287622, 0.2496674101328957, 0.0], [0.27757044884152227, 0.27401990188323533, 0.0], [0.30280412465428236, 0.29819792389897165, 0.0], [0.3280378004670424, 0.3221860819220404, 0.0], [0.3532714762798025, 0.3459691025816568, 0.0], [0.3785051520925626, 0.3695318431189407, 0.0], [0.4037388279053227, 0.3928593010283814, 0.0], [0.4289725037180828, 0.4159366236100018, 0.0], [0.45420617953084286, 0.4387491174261408, 0.0], [0.479439855343603, 0.4612822576568334, 0.0], [0.5046735311563632, 0.48352169734782985, 0.0], [0.5299072069691232, 0.5054532765453676, 0.0], [0.5551408827818833, 0.52706303131188, 0.0], [0.5803745585946434, 0.5483372026168984, 0.0], [0.6056082344074035, 0.5692622450974913, 0.0], [0.6308419102201636, 0.5898248356826589, 0.0], [0.6560755860329236, 0.6100118820761937, 0.0], [0.6813092618456837, 0.6298105310926067, 0.0], [0.7065429376584438, 0.6492081768408081, 0.0], [0.7317766134712039, 0.6681924687503387, 0.0], [0.757010289283964, 0.6867513194350325, 0.0], [0.7822439650967241, 0.7048729123891133, 0.0], [0.8074776409094842, 0.7225457095108168, 0.0], [0.8327113167222444, 0.7397584584487545, 0.0], [0.8579449925350044, 0.7565001997663364, 0.0], [0.8831786683477645, 0.7727602739196959, 0.0], [0.9084123441605245, 0.7885283280446701, 0.0], [0.9336460199732847, 0.8037943225485159, 0.0], [0.9588796957860448, 0.8185485375021652, 0.0], [0.984113371598805, 0.8327815788289485, 0.0], [1.0093470474115651, 0.846484384285847, 0.0], [1.0345807232243251, 0.8596482292334642, 0.0], [1.0598143990370852, 0.8722647321910442, 0.0], [1.0850480748498454, 0.8843258601729991, 0.0], [1.1102817506626055, 0.8958239338035479, 0.0], [1.1355154264753655, 0.9067516322062104, 0.0], [1.1607491022881256, 0.9171019976650433, 0.0], [1.1859827781008856, 0.9268684400546499, 0.0], [1.2112164539136459, 0.9360447410361429, 0.0], [1.2364501297264059, 0.9446250580163899, 0.0], [1.261683805539166, 0.9526039278680192, 0.0], [1.286917481351926, 0.9599762704078183, 0.0], [1.312151157164686, 0.9667373916313099, 0.0], [1.3373848329774463, 0.9728829867014461, 0.0], [1.3626185087902063, 0.9784091426895182, 0.0], [1.3878521846029666, 0.9833123410665359, 0.0], [1.4130858604157264, 0.9875894599434918, 0.0], [1.4383195362284866, 0.991237776059082, 0.0], [1.4635532120412467, 0.9942549665136189, 0.0], [1.488786887854007, 0.9966391102480325, 0.0], [1.5140205636667667, 0.9983886892670178, 0.0], [1.539254239479527, 0.9995025896055487, 0.0], [1.564487915292287, 0.9999801020381454, 0.0], [1.589721591105047, 0.9998209225304407, NaN], [1.614955266917807, 0.9990251524327611, NaN], [1.6401889427305676, 0.9975932984155959, NaN], [1.6654226185433276, 0.9955262721469976, NaN], [1.6906562943560877, 0.9928253897121194, NaN], [1.7158899701688477, 0.9894923707752571, NaN], [1.741123645981608, 0.985529337484931, NaN], [1.7663573217943678, 0.9809388131227046, NaN], [1.791590997607128, 0.9757237204965986, NaN], [1.8168246734198878, 0.969887380080127, NaN], [1.842058349232648, 0.963433507898135, NaN], [1.8672920250454081, 0.9563662131607894, NaN], [1.8925257008581686, 0.9486899956472257, NaN], [1.9177593766709284, 0.9404097428405179, NaN], [1.9429930524836887, 0.9315307268157951, NaN], [1.9682267282964487, 0.9220586008834875, NaN], [1.9934604041092088, 0.911999395989837, NaN], [2.018694079921969, 0.9013595168769668, NaN], [2.043927755734729, 0.8901457380049518, NaN], [2.069161431547489, 0.8783651992384888, NaN], [2.0943951073602487, 0.866025401300912, NaN], [2.119628783173009, 0.8531342009984473, NaN], [2.1448624589857697, 0.8396998062177484, NaN], [2.1700961347985297, 0.8257307706998974, NaN], [2.1953298106112893, 0.8112359885941979, NaN], [2.2205634864240498, 0.7962246887952281, NaN], [2.24579716223681, 0.7807064290667646, NaN], [2.27103083804957, 0.7646910899563063, NaN], [2.29626451386233, 0.7481888685040864, NaN], [2.32149818967509, 0.7312102717505693, NaN], [2.34673186548785, 0.7137661100465695, NaN], [2.37196554130061, 0.6958674901702515, NaN], [2.3971992171133705, 0.6775258082553927, NaN], [2.4224328929261305, 0.6587527425354133, NaN], [2.4476665687388905, 0.6395602459077901, NaN], [2.4729002445516506, 0.6199605383235923, NaN], [2.4981339203644106, 0.5999660990069821, NaN], [2.5233675961771707, 0.5795896585096353, NaN], [2.548601271989931, 0.5588441906051398, NaN], [2.5738349478026907, 0.5377429040285362, NaN], [2.5990686236154508, 0.5162992340662516, NaN], [2.624302299428211, 0.49452683400179415, NaN], [2.6495359752409717, 0.47243956642264257, NaN], [2.6747696510537313, 0.45005149439387604, NaN], [2.7000033268664914, 0.42737687250414974, NaN], [2.7252370026792514, 0.40443013778973835, NaN], [2.750470678492012, 0.38122590054240535, NaN], [2.775704354304772, 0.35777893500696506, NaN], [2.8009380301175315, 0.334104169974451, NaN], [2.8261717059302915, 0.3102166792768856, NaN], [2.851405381743052, 0.28613167218970365, NaN], [2.876639057555812, 0.2618644837479363, NaN], [2.901872733368572, 0.2374305649823219, NaN], [2.927106409181332, 0.21284547308156482, NaN], [2.9523400849940926, 0.18812486148700097, NaN], [2.9775737608068527, 0.16328446992598128, NaN], [3.0028074366196127, 0.13834011439031216, NaN], [3.0280411124323723, 0.11330767706614275, NaN], [3.0532747882451328, 0.0882030962217012, NaN], [3.078508464057893, 0.06304235605933013, NaN], [3.103742139870653, 0.03784147653826707, NaN], [3.128975815683413, 0.012616503174664631, NaN], [3.1542094914961734, -0.012616503174664387, NaN], [3.179443167308933, -0.03784147653826638, NaN], [3.2046768431216934, -0.06304235605932988, NaN], [3.229910518934453, -0.08820309622170051, NaN], [3.255144194747214, -0.11330767706614252, NaN], [3.280377870559974, -0.13834011439031235, NaN], [3.3056115463727336, -0.16328446992598103, NaN], [3.330845222185494, -0.18812486148700117, NaN], [3.356078897998254, -0.21284547308156457, NaN], [3.381312573811014, -0.23743056498232165, NaN], [3.4065462496237737, -0.26186448374793564, NaN], [3.431779925436534, -0.28613167218970337, NaN], [3.4570136012492942, -0.31021667927688495, NaN], [3.4822472770620547, -0.3341041699744508, NaN], [3.5074809528748143, -0.35777893500696484, NaN], [3.5327146286875744, -0.3812259005424051, NaN], [3.5579483045003353, -0.4044301377897385, NaN], [3.583181980313095, -0.4273768725041495, NaN], [3.608415656125855, -0.4500514943938758, NaN], [3.6336493319386145, -0.4724395664226424, NaN], [3.6588830077513754, -0.4945268340017939, NaN], [3.684116683564135, -0.5162992340662509, NaN], [3.7093503593768955, -0.537742904028536, NaN], [3.734584035189655, -0.5588441906051396, NaN], [3.7598177110024156, -0.5795896585096351, NaN], [3.785051386815176, -0.5999660990069823, NaN], [3.8102850626279356, -0.6199605383235921, NaN], [3.8355187384406957, -0.6395602459077899, NaN], [3.8607524142534557, -0.6587527425354132, NaN], [3.885986090066216, -0.6775258082553928, NaN], [3.911219765878976, -0.6958674901702511, NaN], [3.9364534416917363, -0.7137661100465693, NaN], [3.961687117504496, -0.7312102717505689, NaN], [3.9869207933172564, -0.7481888685040863, NaN], [4.012154469130016, -0.7646910899563062, NaN], [4.037388144942777, -0.7807064290667647, NaN], [4.0626218207555365, -0.796224688795228, NaN], [4.087855496568297, -0.8112359885941977, NaN], [4.1130891723810565, -0.8257307706998973, NaN], [4.138322848193817, -0.8396998062177485, NaN], [4.1635565240065775, -0.8531342009984474, NaN], [4.188790199819336, -0.8660254013009112, NaN], [4.214023875632098, -0.8783651992384889, NaN], [4.239257551444857, -0.8901457380049517, NaN], [4.264491227257618, -0.9013595168769669, NaN], [4.289724903070378, -0.9119993959898373, NaN], [4.314958578883137, -0.9220586008834871, NaN], [4.340192254695898, -0.9315307268157953, NaN], [4.365425930508658, -0.9404097428405179, NaN], [4.390659606321417, -0.9486899956472256, NaN], [4.415893282134178, -0.9563662131607893, NaN], [4.441126957946938, -0.963433507898135, NaN], [4.466360633759698, -0.9698873800801269, NaN], [4.491594309572458, -0.9757237204965986, NaN], [4.516827985385218, -0.9809388131227044, NaN], [4.5420616611979785, -0.985529337484931, NaN], [4.567295337010739, -0.9894923707752571, NaN], [4.592529012823499, -0.9928253897121194, NaN], [4.617762688636259, -0.9955262721469976, NaN], [4.642996364449019, -0.9975932984155959, NaN], [4.668230040261779, -0.9990251524327611, NaN], [4.693463716074539, -0.9998209225304407, NaN], [4.718697391887299, -0.9999801020381454, 0.0], [4.743931067700059, -0.9995025896055488, 0.0], [4.769164743512819, -0.9983886892670178, 0.0], [4.79439841932558, -0.9966391102480325, 0.0], [4.819632095138339, -0.9942549665136189, 0.0], [4.8448657709511, -0.991237776059082, 0.0], [4.870099446763859, -0.9875894599434919, 0.0], [4.89533312257662, -0.983312341066536, 0.0], [4.9205667983893795, -0.9784091426895183, 0.0], [4.94580047420214, -0.9728829867014462, 0.0], [4.9710341500149005, -0.9667373916313099, 0.0], [4.99626782582766, -0.9599762704078184, 0.0], [5.02150150164042, -0.9526039278680194, 0.0], [5.04673517745318, -0.94462505801639, 0.0], [5.071968853265941, -0.9360447410361429, 0.0], [5.097202529078701, -0.9268684400546497, 0.0], [5.122436204891461, -0.9171019976650434, 0.0], [5.14766988070422, -0.9067516322062107, 0.0], [5.172903556516982, -0.8958239338035475, 0.0], [5.19813723232974, -0.8843258601729994, 0.0], [5.223370908142501, -0.8722647321910444, 0.0], [5.24860458395526, -0.8596482292334647, 0.0], [5.273838259768021, -0.8464843842858473, 0.0], [5.299071935580782, -0.8327815788289481, 0.0], [5.324305611393541, -0.8185485375021656, 0.0], [5.3495392872063015, -0.8037943225485161, 0.0], [5.374772963019062, -0.7885283280446701, 0.0], [5.4000066388318215, -0.7727602739196963, 0.0], [5.425240314644582, -0.7565001997663364, 0.0], [5.450473990457342, -0.7397584584487548, 0.0], [5.475707666270101, -0.7225457095108176, 0.0], [5.500941342082863, -0.7048729123891131, 0.0], [5.526175017895621, -0.6867513194350334, 0.0], [5.551408693708383, -0.6681924687503386, 0.0], [5.576642369521143, -0.6492081768408078, 0.0], [5.601876045333902, -0.6298105310926073, 0.0], [5.627109721146663, -0.6100118820761935, 0.0], [5.652343396959422, -0.5898248356826598, 0.0], [5.677577072772183, -0.5692622450974911, 0.0], [5.702810748584943, -0.5483372026168987, 0.0], [5.7280444243977024, -0.5270630313118807, 0.0], [5.753278100210463, -0.505453276545368, 0.0], [5.778511776023223, -0.48352169734782974, 0.0], [5.803745451835983, -0.46128225765683384, 0.0], [5.8289791276487435, -0.4387491174261409, 0.0], [5.854212803461503, -0.41593662361000233, 0.0], [5.879446479274264, -0.3928593010283816, 0.0], [5.904680155087024, -0.3695318431189406, 0.0], [5.929913830899784, -0.34596910258165714, 0.0], [5.955147506712544, -0.3221860819220404, 0.0], [5.980381182525304, -0.29819792389897204, 0.0], [6.005614858338064, -0.27401990188323533, 0.0], [6.030848534150824, -0.2496674101328962, 0.0], [6.056082209963583, -0.22515595399170216, 0.0], [6.081315885776345, -0.20050114001676034, 0.0], [6.106549561589104, -0.17571866604177655, 0.0], [6.131783237401865, -0.15082431118216105, 0.0], [6.157016913214624, -0.12583392578840336, 0.0], [6.182250589027385, -0.10076342135407321, 0.0], [6.2074842648401445, -0.07562876038490636, 0.0], [6.232717940652905, -0.05044594623539644, 0.0], [6.257951616465665, -0.025231012919392504, 0.0], [6.283185292278425, -1.4901161438777017e-8, 0.0]]);

        var google_chart_04755741106_options = {"title":"A function and where its derivative is positive","lineWidth":5,"vAxis":{"maxValue":1.2,"minValue":-1.2},"curveType":"function"};

        var google_chart_04755741106_chart = new google.visualization.LineChart(document.getElementById('google_chart_04755741106'));

        google_chart_04755741106_chart.draw(google_chart_04755741106_data,  google_chart_04755741106_options);

        

      }

      

    </script>

  </head>

  <body>

This chart was made with the following commands:
<pre>

julia> using GoogleCharts
julia> fname = "/tmp/test.html";
julia> plot(fname, [sin, u -> cos(u) > 0 ? 0 : NaN], 0, 2pi,
                   {:lineWidth=>5, 
                    :title=>"A function and where its derivative is positive",
                    :vAxis=>{
                      :minValue => -1.2,
                      :maxValue => 1.2
                    }
                   })
</pre>

The file was then edited to add these instructions.

    <div id="google_chart_04755741106" style="width: 900px; height: 500px;"></div>

    </body>

</html>